package com.reebake.ideal.message.websocket.core;


import com.reebake.ideal.message.websocket.entity.WebsocketMessageTransferDTO;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

@Getter
public class WebSocketMessageBroadcastEvent extends ApplicationEvent {

    private final WebsocketMessageTransferDTO websocketMessageTransferDTO;

    WebSocketMessageBroadcastEvent(Object source, WebsocketMessageTransferDTO websocketMessageTransferDTO) {
        super(source);
        this.websocketMessageTransferDTO = websocketMessageTransferDTO;
    }
}
